
def goods_list(goods_name):
    data = {
        "method": "get",
        "url":"http://124.70.39.201/adminapi/shop/goods",
        "headers": {
            'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1aWQiOjEsInVzZXJuYW1lIjoiYWRtaW4iLCJpc3MiOiIxMjQuNzAuMzkuMjAxIiwiYXVkIjoiMTI0LjcwLjM5LjIwMSIsImlhdCI6MTc0MTkzOTQ0MCwibmJmIjoxNzQxOTM5NDQwLCJleHAiOjE3NDI1NDQyNDAsImp0aSI6IjFfYWRtaW4ifQ.2hiYxsPqPBaPwnyEwz4jpUnANOTJ7OWsOjJ0iEMV5Ug',
        },
        "params": {
            'page': '1',
            'limit': '10',
            'goods_name': goods_name,
            'goods_type': '',
            'brand_id': '',
            'label_ids': '',
            'start_sale_num': '',
            'end_sale_num': '',
            'start_price': '',
            'end_price': '',
            'status': '1',
            'order': '',
            'sort': '',
        }
    }
    return requests.request(**data).json()

if __name__ == '__main__':
    print(goods_list("1"))
